package com.ruoyi.purchase.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.purchase.domain.PoFirm;
import com.ruoyi.purchase.service.PoFirmService;
import com.ruoyi.purchase.mapper.PoFirmMapper;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DY
* @description 针对表【po_firm】的数据库操作Service实现
* @createDate 2022-01-04 11:32:41
*/
@Service
public class PoFirmServiceImpl extends ServiceImpl<PoFirmMapper, PoFirm>
    implements PoFirmService{

    @Autowired
    private PoFirmMapper poFirmMapper;
    @Override
    public List<PoFirm> findFirmList() {
        return poFirmMapper.findFirmList();
    }

    @Override
    public List<PoFirm> findFirmManageList() {
        return poFirmMapper.findFirmManageList();
    }

    @Override
    public List<PoFirm> getFirmList(PoFirm poFirm) {
        return poFirmMapper.getFirmList(poFirm);
    }

    @Override
    public PoFirm findById(Integer firmId) {
        return poFirmMapper.findById(firmId);
    }
}




